package br.ujr.faces.beans;

import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;
import javax.faces.event.ActionEvent;

@ManagedBean(name="diversos")
@SessionScoped
public class Diversos {
	
	public Diversos() {
	}
	
	public void genericListener(ActionEvent event) {
		System.out.println(event.getSource());
	}
	
	public String goToIndex() {
		System.out.println(this.getClass() + "#goToIndex()");
		return "index";
	}

}
